﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="../../../课件/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
    <div id="div1">
        <button id="btn1">别点我</button>
    </div>
    <script type="text/javascript">
        $(function () {
            //bind(eventType, handler)
            //多个事件类型可以通过用空格隔开一次性绑定：
            $('#btn1').bind('click', { mess: '你又点我了！！！' }, function (event) {
                console.log(event.data.mess);
            });
        })
    </script>
</body>
</html>
